<?php
namespace Operationtest\Model;

class Rhdata {
    public $idRhdata;
    public $date;
    public $idStore;
    public $MO;
    public $transfertE;
    public $transfertS;
    public $nbHeures;
    public $productivite;
    
    public function exchangeArray($data)
    {
        $this->idRhdata = (isset($data['idRhdata'])) ? $data['idRhdata'] : null;
        $this->date = (isset($data['date'])) ? $data['date'] : null;
        $this->idStore = (isset($data['idStore'])) ? $data['idStore'] : null;
        $this->MO = (isset($data['MO'])) ? $data['MO'] : null;
        $this->transfertE = (isset($data['transfertE'])) ? $data['transfertE'] : null;
        $this->transfertS = (isset($data['transfertS'])) ? $data['transfertS'] : null;
        $this->nbHeures = (isset($data['nbHeures'])) ? $data['nbHeures'] : null;
        $this->productivite = (isset($data['productivite'])) ? $data['productivite'] : null;
    }
}